package com.myzl.coal.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 设备协议对象 t_device_protocol
 *
 * @author myzl
 * @date 2022-12-01
 */
@Data
@TableName("t_device_protocol")
public class DeviceProtocol extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    private Long id;

    /** 设备类型（1PLC 2雷达 3双目 4摄像头 5筛机雷达） */
    @Excel(name = "设备类型", readConverterExp = "1=PLC,2=雷达,3=双目,4=摄像头,5=筛机雷达")
    private Integer deviceType;

    /** 通讯协议 1 tcp 2 udp 3 http */
    @Excel(name = "通讯协议 1 tcp 2 udp 3 http")
    private Integer deviceProtocol;
    @Excel(name = "通讯协议 1 tcp 2 udp 3 http")
    private Integer communicationProtocol;

    /** 是否服务端  0 client 1server */
    @Excel(name = "是否服务端  0 client 1server")
    private Integer serverType;
    @Excel(name = "服务端口")
    private Integer port;

}
